﻿using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace Smugmug
{
    [JsonObject]
    public class Family
    {
        [XmlAttribute]
        public string NickName { get; set; }
        [XmlAttribute]
        public string DisplayName { get; set; }
        [XmlAttribute("URL"), JsonProperty("URL")]
        public string Url { get; set; }
    }

    [XmlType("Family"), JsonObject]
    public class FamilyCollection : List<Family>
    {
    }
}